Pixeldev\SquareWooSync\REST\SettingsController A

Total Complexity 59
Dependencies 10
Dependents 2
Total lines 636
Lines of code 420
Logical lines of code 214
Comment lines 99
Methods 18
Properties 2

Methods 18

Method Rating Maintainability Complexity Lines of code
get_cron()
A
41 12 51
register_routes()
A
36 1 128
update_settings()
S
51 6 27
get_settings()
S
53 5 22
handle_export_to_square()
S
49 4 31
update_webhook_status()
S
55 4 17
get_modifiers()
S
59 4 13
get_orderable_locations()
S
56 3 17
get_shipping_methods()
S
58 3 15
update_inventory_for_all_products()
S
60 3 14
set_access_token()
S
56 2 17
update_gateway_settings()
S
58 2 14
get_locations()
S
62 2 10
get_access_token()
S
64 2 9
get_webhook_status()
S
70 2 5
get_gateway_settings()
S
62 2 10
get_all_products()
S
60 1 13
delete_access_token()
S
67 1 7